package week4;

public class CourseTest {
    public static void main(String[] args) {
        Address school = new Address("800 Lancaster Ave.", "Villanova", "PA",19085);
        Address jHome = new Address("21 Jump Street", "Blacksburg", "VA", 24551);
        Student john = new Student("John", "Smith", jHome,school, 60, 60, 60);

        Address mHome = new Address("123 Main Street", "Euclid", "OH", 44132);
        Student marsha = new Student("Marsha", "Jones", mHome,school, 75 ,75, 75);

        Course sub = new Course("JAVA");

        sub.addStudent(john);
        sub.addStudent(marsha);

        System.out.println(sub.roll());

        System.out.println(sub.average());
    }
}
